make sure replays is always initialized

fixes #5431