Fix wrongly named variable in printing single events