wrap if/for body in a block if it's a statement