fix a bug when no aliases are given