fix indentation for the if block