fix syntax error
updated doc, remove commented code