fixed typo

fixed typo of `document`