updated array_get

fixed error in array_get