bug in MERGE fixed