fix auto completion