fixed templates not being imported from module directory bug