new changes for clearing work space