fix array sample