cleaned up clear screen process