better compiled module names and only compile each template once