revert reader/writer classes