fixed a bug with live version
Merge pull request #1 from crotten/master

fixed a bug with live version