bug fix:
TDIS-7224: don't return unnecessary null
TDIS-7225: limit the range of listenID