fixing call to dom_err_vec