fix some syntax error

remove some console log and add semicolon