add ; betwen a if and a for