bugfix loading compensations in register form. Added compensation calculations.