Fix guard statement