lua: fixed typo in error message