modify activeGuide and stackGuide