fix all the syntax errors
fix a bug