fix AlreadyRunning reference error