small optimazation in clear screen