fix judge time bug