fixing selects