fix wrong clear rate claculation at 100%