fixed a bug on lua template