cleaner lua 5.1 compat