reverting gradient change