fixed a bug where after last fix it was setting the array size to be smaller and thus screwed the tables