issue367

### Description
  o Metadata vector arrSize used instead of vector.
  o Spelling error in static function fixed

This PR solves the issue #367