minor fixes
Merge branch 'master' into oext