to support lua 5.2