fix iterate lua table bug