attempted fix for #300

http://code.google.com/p/googleappengine/issues/detail?id=2749