change protocol parser