fixes for puppet errors