code cleanup
Merge branch 'master' into multidirs