Set guard against nil