check in array fixed