modify bug that array.size > 2