fixed documentholder memory leak