attempt fix of Reflect.compare