Fix template replacement
Release 1.0.2