Fix guards pattern