check body for null