further improvements in synchronizeRuntime procedure