fixed inline templates for modules