Fix option resolving for route attr