fix bug with merging custom columns