fix previous pull request related to deleting aliases
Merge branch '2.1.x' into 2.2.x