fix routes file