minor fixes to boostraping

* inputvals: py2.6 compatibility
* update boostraping queries