fix lua warning