edit reset for activate method