remove the dependencies from binaryreader