fixed problem with downloadcounter when editing multiple documents