Fix a listen bug