Missed 'my_fac != NULL' check