fixes ViewLogLogic
fixes DiffLogLogic
Merge branch 'master40'