fix array access: