Fixes #2917 module alias setup

Fixes #2917 module alias setup