correcting markup