fix smex and ido