fix get-listener array bug