remove OnRun and OnClear