fixed duplicated user bug