updated to enable deselect all.