Fixed error saving new accounts