fix switchAccount() method not found