fixed Reflect.compare