debug for hanging game