fixed a minor error in result sync