fix replay functionality after dependency upgrade