width and height bug corrected
Merge pull request #19 from sriram-dev/api_corrections

width and height bug corrected