glue event.c modified