more special imports for python3 compatibility