fix purchase