Fix array size increase bug; Comment correction