Fixing Guards

Fixed silly bug so it actually works again