fix indent in a nested if-statement
fix indent in a nested if-statement