Some bug fixes
Merge branch 'master' of github.com:LitusProject/Litus