set content type for the error page