gre.py - fixed a trivial problem