Fixing bugs for W3C

Fixing bugs for W3C validation service