Fix code snippet for info creation