fixed nation bug