deleteting extra lines