fix use of mode option
Merge branch 'develop'