use static loader in base template