important fix on puppet apply