Changed a couple of syntax errors

One was caused by the templating, and the other had a hash missing.