Fix iOS listener issue