fix lua compile error