fixed province end condition bug