repair bug of failure when pressed the first line