fix protocal