fixing array structure