fixed missing init of cart vars