revert repo reading changes