fix #5

Now we can replace text in a template