fixed the deselect