fix using custom search path directory