fix in python