removing extra empty lines