Population file bug fix