fixing id not found for printed document

--HG--
extra : source : 3e0f9acef365849b996bb884bd672a6752d442f9