db connect fix