fixed DB connecion issue