better error handling
Merge branch 'master' into sensors

no coflicts