Remove duplicated lines