attempted to fix silly character read errors