fix isRunning