fixed nre in merge