:fix: import failure of NoneType for python3