fix autoimport for qualified types