Set content type correctly