fix bug for listeners object