fixed data types in scrub_pop_assignment