Cart generator fix