fixed TemplateScript move action.