fix issue greedily splicing open[] in a*