little semantics fixes
Merge branch 'dev'