bug found when running in python 3.4