Fixed some bugs
Merge branch 'master' of https://github.com/xbianonpi/xbian-config-bash