fixed GC problem with pypy callback