make order of assignments in push_sample consistent