fixed teplate change bug