fixed problems with accounts