removing unused empty lines