fixed isRunning