improved exception handling in dvcp