fixed python2 problem with bottle