fix python settings