tomdoc correction