more lua adjustments