fix for chain rewinding