fix syntax error in document