Fix merge array