some fixes
Merge branch 'master' of https://github.com/marco-calautti/Rainbow.git