fix error code issue with shopping backend