Changed how the dIV is extracted.