use raw etlua api to reuse buffer
clone etlua functions before running