remove trailing spaces from a couple lines