Set module in nested pages

Forgot to set the module variable for nested pages