repair static in base template