move `else` to the line with `}`