Cannot read property 'aliasName' of undefined