fix for: quantity not updating when items removed