fixed empty if body