Remove duplicate lines