fix @scope in template