fix example for listener