add interval time check.