remove duplicate db connect