proto.c only used base.h for debug