fixes to get back up and running with bottle.py