scripts: bugfix in species habitat.