correct routes for object not array