remove duplicate line (fix #3245)