Fix bugs in objects_routes