fix bug

fix bug with reset selection