fixed minor bugs, problem with game simulation unfixed