fix selectable directive