fix for accounts model