bug in runtime_compare fixed