Remove unnecessary empty lines