fix separator SyntaxError detection, add TypeError
publish v0.0.2