[lua-template-wrapper] Fixed according to milesonte 6.