fix grabrelationsize