Fix print_caller in event