standardizing parameters to routes