Fixed run bug