Fixes read generation again, but this time it works.