fixing typod template variable