fix purchase details