make compatible w/ jython 2.4