Change “lastData” to “data” in templates.