several issues corrections
Merge branch 'master' into develop