removes duplicated line