fix template in wrong directory