minor change to make merging on append work correctly