fix stupid dup bug