deleting extra lines edit