fixed tlm crash related to logout