Fixed template syntax for local assignment