fixed long, old type py classes