fix glitches with buying