fix(rest) crash on /api/v1