bugfix for gae.py