fix Issue 10635 - Error: cannot use array to initialize S