bug fix for puppet