content type checking fix