fix purchase refresh error