restore struct's guard