bug fixes
Merge pull request #55 from Ranjith15/master

bug fixes