fix out of array