fix some routes and schema to implementations