now facts are terminated in the same task they are added. a bugfix adding consecuences
better termination