Fixed listen function.