fixed encoding of aliases