small fixes
Merge branch 'master' into beta