fix components reset