fix detail ui, bug in search display