fixed bug on searching for route_completions by gym