Fixed deleting quantities