read_next fixed