fix sweeper bug