Correctly clamp the friction force