improved rendering of modules