only set body if build returns non null. Make sure build returns null or View instance