add and fix routes