fixed search auto complete issue Refs #232