fix route in view