trying to fix purchase