fixing protocols