small bug in merger.py