reverted db connection