bug fix, refers to mread.c event_add() and return value.