clean up pairs, mutables