/leave now works correctly