some more fixes for selling