removed call back function on listening