fixex some syntax error in document.