function name in glue event.c modified