Fixed databases connections