fix array nesting in score variable