cleanup
honor 'insert }' for erlang enter handler disabling, relates #337