fixed issue in puppet library