Bug fix in route