support lua5.2