fixed time up error with ai