validation for the content_type fixed