fixed pair vector being initialized to garbage