fixing cart controller