right fix for leaveLimit