fix getContent on document