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

merge update-1 into fabian