pair parsing fix