removing garbage from periodic_gestures