fix dispatch array size