better check for html content type