fixed getInstance not passing some params it was given.
Merge pull request #223 from unwin/2014.05

fixed getInstance not passing some params it was given.