fix bug of print cmap