added check for length gameid && automatic gameid creation