fix of logout in progress