more python 2 fixing for configuration (#254)