fix bug in search related entries.