fix runtime startup