reset pattern on deselect