fixes for using colormap/transform as parameter