fixed bugs regarding pop_list