fixed a bug in AccountsActivtiy