remove compiler warning
enable listener