fixing python config