removes python 3.x compability