bugfix for alias included the same name in path