Fix colormap bug that prevent data to be packaged.