fix #342 import completion regression