gaia: fix serious problem with printing ramp image