Fixed selling bug