fix repeating hourly/daily bug