fix rewind previous lines display bug