fix duplicate line