Fix autocomplete qf error bug