moved destroy before creating new