error in array