Cart variable fix