createRun Function repair

regkey not release
update repai regkey release