revise lr predict