small fix lua