small bugfix in alias function