make sure offers remain sorted when one is destroyed.
fix Exception.