fix according to https://projects.puppetlabs.com/issues/17747