added bugfixes done in the past
Merge pull request #1 from ksokol/bugfix

added bugfixes done in the past