switch the hostimg and nwkimg