fix the options sync from the /api/datasets route