supposedly fix the step count of sweep on web interface