parsing of floods
fix hopcounts