NeedController end time bug fix