Removing a repeated line