fix crash adding account