more python module fixes