fix indent of if statement