Time condition fixed