fix cart script.