remove duplicate blank lines