change defaut mime type from text/plain to text/html