fix timeoutExpired