fixed reset selection not working