Is null (fgm_0 1_0,0), which means that the FGM _ 01_ 0 field is an integer.
Your assignment statement has another set FGM _ 0 1 _ 0 = (case ... otherwise: f 1. Is fgm_0 1_0 a string type or an integer? What a mess.