fix for /search without any other in path