fixed small bugs
fixed bugs
Merge pull request #6 from mindBeef/master

fixed bugs