Bug fix itemsearch directory issues