fixed array size issue