fixing routes problems