fix creating duplicate account error