fix syntax error and typo (fix #94)