smart checking of axis label when merging