fix some tostring methods of standard documents