bugfix - storing the pathes of a territory have to be done earlier than the actual event emitting