fixed bug in getAlias