hacked in appengine compat