Attempted to fix reading errors