fixes python settings