python 3 support

minor change to fix problem with python 3.4/3.3