made sure all variables in pop_ld.cpp are initialized