pretend to be a little more py2 compatible