overflow in data array fixed