Fixed wait var in templates.
0.2.6