remove items bug fixed in state replay