KRACOUES-7531:fix error adding degree