fix ramp issue