some python breakage and init correcting