[MH,RG] Add a sound data(timeout_finish), fix the TOSS random algo and fix some bugs