removed buggy replay detection