fixed puppet syntax checking