Fix path error for searh