make sure content type is text/html