fixed deselect broken by previous commit