Fixed bugs handling invalid code.
Release 0.1.18