db connector fix