fixed calculation of effective wuff config