Having a building taredown error

develop-2960 (x64)
stonehearth/lib/player/territory.lua:96: attempt to call method ‘destroy’ (a nil value)
stack traceback:
[C]: in function 'destroy’
stonehearth/lib/player/territory.lua:96: in function ‘remove_entity’
…nehearth/services/server/terrain/terrain_service.lua:139: in function <…nehearth/services/server/terrain/terrain_service.lua:127>