improved content type error