client-reference.xml error fix re lua port