fix protocol invalid value