fix redemption flow handling
fix redemption flow handling
add workaround for zero gearings
fix sign of cashflow in engine