Set the content type correctly