resolved  scaling issues
Merge pull request #163 from rishy/master

resolved  scaling issues