pre-fix for colormap problem. true fix to be committed later