fix a bug in merge_bedgraphs that was triggered due to adding a track line