bug fix in "disable runtime.json writing"