befor fixing selection and completion controllers