refactoring details display for global search