Input file was not read correctly with new lua version