fix lua acc