fix proto.h after idl changes