fixes to gradients; deal with special casing slip due to it's default of 1 instead of 0