write document
minor fix