Fixed error in xlimit listener