Fixed the clear screen method