daily / monthly / weekly detection bug fixed