fix for previous mass delete pull request