for #25, fix imports for python3