properly setting the content type