Empty if statement fixed