fixed database link