parse only if body is not nil