Fixed errors

Added encoding tag and removed headers to validate.