remove dup read buffer cache code