Fix routes for notes