Get rid of empty line before the last closing bracket