fix for < python26