* revert porting of delimit state changes from pegkit