fix template

I am pretty sure what you had doesn't work, this is how I had seen to do it.