Fix str + int concat error in GUI protocol switch