fix alias support. fixes #4