Corrected the clear action