hot fix issue with undefined population