minor fixes
Merge branch 'master' into restructure