fix the account manage function