mod for lua extend