move a clear action to base class