fix for remove task