removing duplicit empty lines