Resoner: Bugfix termination.