bug fix on client requested protocol