Fixed reading bug (for real this time)