fixing problem with previous commit if no aliases are registered