glob var in genetic_algorithm