tweak to leantween anti-skipping code