Bug fixes in stable_run