fix selection enabled states