fix for write_KIM_descriptor.f.frag