fix dynamic facter bug