"add get replays method"
correct some syntax errors and bugs