fix clear screen for terminal