fixed dup problem