fix running state