misc: fix style and syntax error