fix connection db