fixing routes not having correct params order