fixing tomdoc