Fix syntax error, comformed case to template - variable array length