avoid pushing output to the lua stack as this causes segfaults, apparently we have misunderstood lua here :)