more hacks for appengine