fixed bug in account.models