fix build template