nil checking on recipe