clean up multistate handling for LocalEngine