fixing the multipleobjects exception
Merge pull request #12 from vadhawal/master

fixing the multipleobjects exception