lua: problem 18/99 added