fix refresh xbee port behavior