fixed database route