fixed img dup bug