fix guard dependencies