Fix old bug in simpleprocessor
Remove has_begin_and_end from simpleprocessor