compile md with corrections