[FIX] account : Fixed the 'account.account' object has no attribute 'type'.