fixed oregen and LostBooks vilager crash.