minor fixes to match metalua-compiler