oops... fixed database config bug