Fix route in api