Some errors soved whe insert routes