remove redundant decr of time_check_counter
remove unused constant