fixed infinite loop
Merge branch 'master' of https://github.com/horsman/pegjam2014