fix markdown errors, message passing, errors produced