fixes issue with /cart/null