fix static and templates including