fix state transition to sold out