make compatible with new srgb