fixed a problem with python version compatibility, thanks Anthony