fix screen clearing