db connect working again