fix issue with content_type