delete commons and blank lines