fix gallery/Gray to work with new Angle type