fixing createAccount