fix indentation in if statements