Fix sample protocol