array size correction