fix #216 semicolon-apostrophe causes crash