some fixes associated with the CppAD version