Patch userLeave bug (Issue#14