Fixed Bug 1040553

Fixed Bug 1040553
Merge pull request #59 from tanay1337/master

Fixed Bug 1040553