small fix to prevent accidentally sweep triggering