Fixes path search