fix sell bug