replacing specific references and values in the footprints by generic ones