fixed hungermod support for 2.5