Hack to fix uninitialized IDport handle...