listener output fixed