moved running flag