python module loading errors fix