add arrary extend and repair