Fixed a the sweep interval call.