added screen clear at close