Remove some duplicate lines