Fix a bug of `loadAliases`.