db client fixes