fixes protocol