fixes for python import