Fix multiple empty lines and line break