make sure content type is set