fix runtime exec_loop