fixing routes file