fix all the buying stuff