fixed the screen clearing on line 12