use content_type as argument not old mimetype