gaurd against nil