trying to fix db connect