add detail listener in win