fixes template rendering(still static)