Fix lua constructor

Change-Id: I08d5b321bb6f9d1bc0d95c588ae7fe213fe82814
(cherry picked from commit 74fd9328d4e8a795e6e5874b7b79194743087a9a)