fixed bug in accounts.views