minor fixes for GAE dev app server
functional on appengine dev_server!