cleanup, removing dup. lines