Remove duplicate line function fix.