use the right content_type everywhere