fixed destroyat bug