correcting markup errors