CHANGED fixed some bugs
Merge pull request #27 from flubbes/update-1

merge update-1 into jony