remove log
remove unmapped pairs