Fixes problem with adding an account