fix empty needle in cron service