fix the bug when press home on progressing, ready for the terminal emulator