added another cancel check, localized time