bugfix: alias was not being generated correctly.