Fix reports under python 3.3