fixing a few simple/silly bugs
Merge pull request #1 from istudens/master

fixing a few simple/silly bugs