fix the glitch in core_refuge with trees