Fixing clearscreen() method