fix bug with condition autocomplete, typos