Cleanup clamp functions