make it work with normal lua 5.1