changed content type to text/html