fixed lua compile