fix dev-build routes file
fix routes and json error