removing unnecessary empty lines.