fixed user dup issue