correct slew calculation