Fixes protocol communication