compensating device