static works, templates not