fix split retrieval and counter