Fix bug in protocol string