solved binary comparable bug