fixed problem with subrun:set-state-status