make correction to var names in prepareGame()