fixed old-python buggery