finall fixed stupid population bug... i should pay more attention to my code