fix indent with mixture of brackets and `else if`