Add missing require
Fix key lua error