change template bug