rewind before the wp integration