Fixed a minor bug

fixed issue with variation deletion