fix a crash because of the areas mod