[feature] some fix for lua extension