hunting bug in py 2