Fix getAliases method, typo in vice versa