fixing class instantiation failure
Merge pull request #168 from raghavgautam/master

fixing class instantiation failure