remove debug printf in eventdef.c