minor fixes for game playing