fix init game bug