shortening document ref