Fixed to use flattened array $newArgs